const routes = [
    {
        path: '/',
        name: 'index',
        component: () => import('../views/portal/Index.vue')
        children: [
            {
                path: '/login',
                name: 'login',
                component: () => import('../views/portal/Login.vue')
            },
            {
                path: '/register',
                name: 'register',
                component: () => import('../views/portal/Register.vue')
            },
        ]
    },

    {
        path: '/home',
        name: 'home',
        component: () => import('../views/home/Home.vue')
    }

];

export default routes
